<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</head>

<body class="container">
    <h2 align="center">设计手风琴效果</h2>
    <h4 class="">商品信息</h4>
    <div id="Example">
        <div class="card">
            <div class="card-header">
                <button class="btn btn-link" type="button" data-bs-toggle="collapse" data-bs-target="#one">商品名称</button>
            </div>
            <div id="one" class="collapse show" data-parent="#Example">
                <div class="card-body">
                    风韵牌洗衣机
                </div>
            </div>
        </div>
        <div class="card">
            <div class="card-header">
                <button class="btn btn-link collapsed" type="button" data-bs-toggle="collapse"
                    data-bs-target="#two">商品产地</button>
            </div>
            <div id="two" class="collapse" data-parent="#Example">
                <div class="card-body">
                    北京
                </div>
            </div>
        </div>
        <div class="card">
            <div class="card-header">
                <button class="btn btn-link collapsed" type="button" data-bs-toggle="collapse"
                    data-bs-target="#three">商品详情</button>
            </div>
            <div id="three" class="collapse" data-parent="#Example">
                <div class="card-body">
                    该商品价格为4668元
                </div>
            </div>
        </div>
    </div>

</body>

</html>